package ru.lukyanets.transmission.protocol.model.session;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author slukyanets
 */
@SuppressWarnings({"unused", "WeakerAccess"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "memory-bytes",
        "memory-units",
        "size-bytes",
        "size-units",
        "speed-bytes",
        "speed-units"
})
@Getter
@Setter
public class Units {
    @JsonProperty("memory-bytes")
    private int memoryBytes;
    @JsonProperty("memory-units")
    private List<String> memoryUnits = new ArrayList<>();
    @JsonProperty("size-bytes")
    private int sizeBytes;
    @JsonProperty("size-units")
    private List<String> sizeUnits = new ArrayList<>();
    @JsonProperty("speed-bytes")
    private int speedBytes;
    @JsonProperty("speed-units")
    private List<String> speedUnits = new ArrayList<>();
}
